﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
	<thead>
<tr class="n_bt"><td colspan="6" align="center">内容管理系统</td></tr>
  <tr>
  <td height="28" align="center"  class="thbt">栏目ID</td>
    <td height="28" align="center"  class="thbt">栏目名称</td>
    <td height="28" align="center"  class="thbt">栏目</td>
    <td height="28" align="center"  class="thbt">栏目排序</td>
    <td height="28" align="center"  class="thbt">显示</td>
    <td height="28" align="center"  class="thbt">管理选项</td>
 
  </tr></thead>
	<tbody>
<?php if(is_array($arclist))  foreach($arclist as $v) { ?>
  <tr align="center">
    <td width='4%' align="center" ><?php echo isset($v->id)?$v->id:"";?></td>  
    <td height="20" align="left">&nbsp;&nbsp;&nbsp;<?php echo isset($v->typename)?$v->typename:"";?></td>
    <td height="20"><?php if($v->singlepage){?>单页<?php }else{?>栏目<?php }?></td>
    <td height="20" align="center"><?php echo isset($v->sortrank)?$v->sortrank:"";?></td>
    <td height="20" align="center"><?php if($v->isshow){?>
    <a href="?c=arctype&a=notshow&id=<?php echo isset($v->id)?$v->id:"";?>" class="ok">ok</a>
    <?php }else{?>
    <a href="?c=arctype&a=yesshow&id=<?php echo isset($v->id)?$v->id:"";?>" class="no">no</a>
    <?php }?></td>
    <td height="20" align="center"><!--<a class="blue" href="?c=arctype&a=add&tid=<?php echo isset($v->id)?$v->id:"";?>">添加子类</a>-->
      <!--<a class="blue" href="?c=article&a=list&id=<?php echo isset($v->id)?$v->id:"";?>">查看内容</a>-->  <a class="blue" href="?c=arctype&a=mod&id=<?php echo isset($v->id)?$v->id:"";?>">修改</a><!-- <a class="blue" href='javascript:alert_del("?c=arctype&a=del&id=<?php echo isset($v->id)?$v->id:"";?>")'>删除</a>--></td>
  </tr>
  <?php }?></tbody>
</table>
<script type="text/javascript">
    <!--
    $(document).ready(function () {
        $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
    });

    //-->
    function alert_del(url) {
        if (confirm("您确定要删除吗？"))
            window.location = url;
        return false;
    }
</script>
</body>
</html>